<template>
	<div class="album">
		<div class="nav-head"><router-link to="/layout/musLib"><img src="../../../assets/icon-return45.png"></router-link><div class="title"><span>专辑</span></div><span class="already-buy"><router-link to="/alrBuy">已购</router-link></span></div>
		<div class="top-blank"></div>
		<div class="album-wraper">
			<div class="album-nav">
				<img src="../../../assets/album-pic1.png">
				<div class="album-nav-list">
					<div><router-link to="/besSel"><img src="../../../assets/changxiaobang.png"><span>畅销榜</span></router-link></div>
					<div><router-link to="/clearance"><img src="../../../assets/temaichang.png"><span>特卖场</span></router-link></div>
					<div><router-link to="/albSor"><img src="../../../assets/fenlei.png"><span>分类</span></router-link></div>
				</div>
			</div>
			<div class="new-arrival-wraper">
				<h2>最新上架</h2>
				<div class="new-list">
					<div class="album-box mr10">
						<img src="../../../assets/5370.png">
						<div class="album-info">
							<p class="album-name">如果爱忘了</p>
							<p class="album-singer">戚薇</p>
							<p class="album-price">￥ <span>30</span></p>
							<div class="buy-btn">购买</div>
						</div>
					</div>
					<div class="album-box">
						<img src="../../../assets/1370.png">
						<div class="album-info">
							<p class="album-name">我们的明天</p>
							<p class="album-singer">鹿晗</p>
							<p class="album-price">￥ <span>50</span></p>
							<div class="buy-btn">购买</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="blank"></div>
		<!-- <musicPlayer></musicPlayer> -->
	</div>
</template>
<script>
	import musicPlayer from '../../../components/music_player'
	export default{
		name:"album",
		data(){
			return{

			}
		},
		components:{
			musicPlayer
		}
	}
</script>
<style scoped lang="less">
.top-blank{
	width: 100%;
	height: 88 / 100rem;
}
.blank{
	width: 100%;
	height: 108 / 100rem;
	background-color: #fff;
}
.nav-head{
	width: 100%;
	height: 88/100rem;
	background:url('../../../assets/daohang.png');
	background-size: 100%;
	overflow: hidden;
	position: fixed;
	top: 0;
	left: 0;
}
.nav-head img{
	display: block;
	width: 27/100rem;
	height: 45/100rem;
	position: absolute;
	left: 20/100rem;
	top: 21.5/100rem;
}
.nav-head .title{
	width: 100%;
	height: 100%;
	text-align: center;
	font-size: 36/100rem;
	color: #fff;
	line-height: 88/100rem;
}
.already-buy{
	color: #fff;
	position: absolute;
	top:32 / 100rem;
	right: 20 / 100rem;
	font-size: 24 / 100rem;
}
.album-wraper{
	width: 100%;
	background-color: #dbd7df;
	.album-nav{
		background-color: #fff;
		width: 100%;
		img{
			width: 100%;
		}
		.album-nav-list{
			width: 710 / 100rem;
			margin: 0 auto;
			display: flex;
			div{
				flex:1;
				text-align: center;
				padding-top: 30 / 100rem;
				padding-bottom: 35 / 100rem;
				img{
					width: 60 / 100rem;
				}
				span{
					display: block;
					font-size: 24 / 100rem;
					padding-top: 15 / 100rem;
				}
			}
		}
	}
	.new-arrival-wraper{
		background-color: #fff;
		margin-top: 20 / 100rem;
		overflow: hidden;
		h2{
			padding-top: 31 / 100rem;
			padding-bottom: 27 / 100rem;
			padding-left: 20 / 100rem;
			font-size: 30 / 100rem;
		}
		.new-list{
			width: 100%;
			overflow: hidden;
			.album-box{
				float: left;
				width: 370 / 100rem;
				img{
					width: 100%;
				}
				.album-info{
					padding-left: 20 / 100rem;
					position: relative;
					.album-name{
						line-height: 54 / 100rem;
						font-size: 24 / 100rem;
					}
					.album-singer{
						line-height: 30 / 100rem;
						font-size: 24 / 100rem;
					}
					.album-price{
						line-height: 43 / 100rem;
						font-size: 24 / 100rem;
					}
					.buy-btn{
						position: absolute;
						width: 96 / 100rem;
						height: 46 / 100rem;
						text-align: center;
						border-radius: 18 / 100rem;
						border:2 / 100rem solid #333;
						top:65 / 100rem;
						right: 20 / 100rem;
						line-height: 46 / 100rem;
 					}
				}
			}
		}
	}
}
.mr10{
	margin-right: 10 / 100rem;
}		
</style>